#!/bin/bash

#while  read -r line
#do
#	echo -e "\033[32m $line \033[0m"
#idone </etc/passwd

while true
do
	read -p "输入内容为:（输入exit退出):" line
      if [[ "$line" == "exit"  ]];then
	      break
      fi

      echo -e "\033[32m $line \033[0m"

done


